<template>
	<view>
		<view class="" style="width: 100vw;height: 100vh">
			<view class="content" :style="{'background':kbackgroundColor}" style="min-height: 100vh">
				<hx-navbar :title="hadename" :back="true" :fixed="false" :color="knavTitleColor" barPlaceholder="hidden"
					transparent="auto"></hx-navbar>
				<view class="an-image_container">
					<image class="an-image1" src="@/static/index/details/lowercover.png"></image>
					<image class="an-image2" :src="mainImage" alt="Your Image">
				</view>
				<view class="container">
					<view class="binahao">
						<view class="" v-if="tokenId=='null'">
							您还没有购买{{yspname}}
							<!-- .substring(3,5) -->
						</view>
					<!-- 	<view class="" v-else>
							{{yspname}}
							  编号：{{tokenId}} 
						</view> -->
					</view>
					<!-- 详情 4个一主题  -->
					<!-- 24 -->
					<view class="mess_List" :class="ktheme == 'black' ? 'mess_List_black' : 'mess_List_white'">
						<view class="year"> 2024</view>
						<view class="mess_collect">
							<view class="" v-for="(item,index) in list.slice(0,4)">

								<view class="back">
									<view class="one_mess" style="position: relative;">

										<view class="" style="height:10rpx;"></view>
										<view class="back_m">
											<view class="b_image">
												<!-- @click="previewImage(item.image)" -->
												<image class="mess_image"
													:style="{'width': (iswidth?'225rpx': '255rpx')}" :src="item.img"
													mode=""></image>
												<image class="mess_image_jl" v-if="item.isHave==1"
													src="@/static/user/already_jl_black.png" mode=""></image>
											</view>
											<view class="m_name" @click="selPopup(item)">
												{{item.name}}
												<image class="name_jiantou"
													src="@/static/user/menu_icon/black_jiantou.png" mode=""></image>
											</view>
										</view>
										<view class="mess_xinxi">
											<view class="jianbain">
												衍生价值
											</view>
											<view class="xin_m">
												{{item.price}}元
											</view>
										</view>
										<view class="mess_xinxi">
											<view class="jianbain">
												奖励份额
											</view>
											<view class="xin_m">
												{{item.num}}
											</view>
										</view>
										<view class="jiazhi">
											<text class="">总价值：</text>
											<text style="color: red;">{{item.amount}}</text>

										</view>
										<view class="m_date">
											奖励日期：{{item.prizeDate }}
										</view>
									</view>


								</view>


							</view>

						</view>
					</view>
					<!-- 25年 -->
					<view class="mess_List2" :class="ktheme == 'black' ? 'mess_List_black2' : 'mess_List_white2'">
						<view class="year"> 2025</view>
						<view class="mess_collect">
							<view class="" v-for="(item,index) in list.slice(4,8)">


								<view class="one_mess" style="position: relative;">
									<view class="" style="height:10rpx;"></view>
									<view class="back_m">
										<view class="b_image">
											<image class="mess_image" :style="{'width': (iswidth?'225rpx': '255rpx')}"
												:src="item.img" mode=""></image>
											<image class="mess_image_jl" v-if="item.isHave==1"
												src="@/static/user/already_jl_black.png" mode=""></image>
										</view>
										<view class="m_name" @click="selPopup(item)">
											{{item.name}}
											<image class="name_jiantou" src="@/static/user/menu_icon/black_jiantou.png"
												mode=""></image>
										</view>
									</view>
									<view class="mess_xinxi">
										<view class="jianbain">
											衍生价值
										</view>
										<view class="xin_m">
											{{item.price}}元
										</view>
									</view>
									<view class="mess_xinxi">
										<view class="jianbain">
											奖励份额
										</view>
										<view class="xin_m">
											{{item.num}}
										</view>
									</view>
									<view class="jiazhi">
										<text class="">总价值：</text>
										<text style="color: red;">{{item.amount}}</text>

									</view>
									<view class="m_date">
										奖励日期：{{item.prizeDate }}
									</view>
								</view>

							</view>
						</view>
					</view>
					<!-- 26 -->

					<view class="mess_List3" :class="ktheme == 'black' ? 'mess_List_black3' : 'mess_List_white3'">
						<view class="year"> 2026</view>
						<view class="mess_collect">
							<view class="" v-for="(item,index) in list.slice(8,12)">
								<view class="one_mess" style="position: relative;">
									<view class="" style="height:10rpx;"></view>
									<view class="back_m">
										<view class="b_image">
											<image class="mess_image" :style="{'width': (iswidth?'225rpx': '255rpx')}"
												:src="item.img" mode=""></image>
											<image class="mess_image_jl" v-if="item.isHave==1"
												src="@/static/user/already_jl_black.png" mode=""></image>
										</view>
										<view class="m_name" @click="selPopup(item)">
											{{item.name}}
											<image class="name_jiantou" src="@/static/user/menu_icon/black_jiantou.png"
												mode=""></image>
										</view>
									</view>
									<view class="mess_xinxi">
										<view class="jianbain">
											衍生价值
										</view>
										<view class="xin_m">
											{{item.price}}元
										</view>
									</view>
									<view class="mess_xinxi">
										<view class="jianbain">
											奖励份额
										</view>
										<view class="xin_m">
											{{item.num}}
										</view>
									</view>
									<view class="jiazhi">
										<text class="">总价值：</text>
										<text style="color: red;">{{item.amount}}</text>

									</view>
									<view class="m_date">
										奖励日期：{{item.prizeDate }}
									</view>
								</view>

							</view>
						</view>
					</view>

					<view class="" style="height: 50rpx;"></view>
					<uni-popup ref="collect_list" type="bottom">
						<!-- @tap="go_detail('0104112024669612','铸造中')" -->
						<view class="collect_box" :style="{background:ktabbarBgColor}">
							<view class="collect_name">
								<view class="" style="display: flex;">
									{{nums_ysp.goods_name}}
									<view class="collect_num" style="color:#999">
										共<text :style="{color:knormalColor}">{{nums_list.length}}</text>个
									</view>
								</view>
								<!-- <view class="collect_num_fenhong" @click="fenSchedule()">
										查看收益详情
									</view> -->
							</view>
							<!-- 默认按编号排序 -->
							<!-- <view class="tips">默认按最新收藏时间排序</view> -->
							<view class="collect_list">
								<view class="collect_item " :style="[selStyle]" v-for="(item,index) in nums_list"
									:key="id" @tap="go_detail(item.iid)">
									<view class="" style="display: flex;
							align-items: center;
						">
										<view class="collect_image">
											<image :src="item.img" class="c_image" mode="">
											</image>
										</view>
										<view class="" style="margin-left: 14rpx;">
											<view class="collect_code">
												#{{item.tokenId}}
											</view>
											<view class=""
												style="width: 100%;display: flex;height: 50rpx;justify-content: space-around;">
												<view class="collect_price">
													<!-- ￥{{item.goods_price}} -->
													￥{{item.price}}
												</view>
												<!-- 	<view class="" style="text-align: right;width: 19%;font-size: 20rpx ;line-height: 50rpx; ">
													x{{item.num}}

												</view> -->
											</view>

										</view>

									</view>
									<view class="collect_code" style="">
										分红时间:{{item.date.substring(0, 10)}}
									</view>
								</view>
							</view>
						</view>
					</uni-popup>
				</view>

			</view>
		</view>
	</view>

</template>

<script>
	export default {
		data() {
			return {
				nums_hasNextPage: false,

				list: [], //列表
				nums_list: [], //衍生 衍生品-获取衍生品列表
				nums_ysp: {},
				mingxivalue: 0,
				range: [{
						id: 0,
						value: 0,
						text: "全部"
					},
					{
						id: 1,
						value: 1,
						text: "已奖励"
					},
					{
						id: 2,
						value: 2,
						text: "待奖励"
					},
				],
				shangpiimage: "/static/test/1.jpg",
				hadename: "衍生品奖励",
				mainImage: '',
				info: {},
				selStyle: {
					'--QianmenonlyBackgournd': this.$store.state.QianmenonlyBackgournd, //单个背景颜色
					'--onlyBackgournd': this.$store.state.ColorSize2, //选中颜色tab 字体颜色ColorSize2
					'--ColorSize': this.$store.state.ColorSize3, // 字体颜色ColorSize
				},
				nums_page: 1,
				nums_limit: 10,
				gid: 1,
				tokenId: "",
				yspname: '',
				iswidth: true
			}
		},
		onLoad(val) {
			console.log("val----", val)
			this.hadename = val.mainName + "衍生品奖励"
			if (val.mainName.indexOf("玉璧") != -1) {
				this.yspname = "玉璧";
				this.iswidth = true
			} else if (val.mainName.indexOf("玉琮") != -1) {
				this.yspname = "玉琮";
				this.iswidth = true
			} else if (val.mainName.indexOf("青龙") != -1) {
				this.yspname = "青龙";
				this.iswidth = false
			} else if (val.mainName.indexOf("玄武") != -1) {
				this.yspname = "玄武";
				this.iswidth = false
			}



			this.mainImage = val.image
			this.gid = val.iid
			this.tokenId = val.tokenId
			this.getderivativeList()
		},
		onPullDownRefresh() {
			this.getderivativeList()
			setTimeout(function() {
				uni.stopPullDownRefresh();
			}, 1000);
		},
		methods: {
			getderivativeList() {
				this.$api.getDeriveDetail(this.gid, res => {
					this.list = res.data
				})
			},
			previewImage(vimage) {
				uni.previewImage({
					current: vimage, // 当前显示图片的链接，不填则默认为 urls 的第一张
					urls: [vimage] // 需要预览的图片链接列表
				});
			},
			selPopup(val) {
				this.nums_list = val.deriveItemVOS
				this.$refs.collect_list.open()
			},
			go_detail: function(orderid) {
				this.$refs.collect_list.close()
				uni.navigateTo({
					//	url:'/pages/mart/item_list?id=' + this.info.sn + '&name=' + this.info.goods_name + '&goods_id=' + this.info.goods_id
					url: '/pages/user/derive_details/derive_details?id=' + orderid
				});
			}
		}
	}
</script>

<style scoped lang="scss">
	@keyframes rotate {
		from {
			transform: rotateY(0deg);
		}

		to {
			transform: rotateY(360deg);
		}
	}

	// 3D
	.animal-box {
		-webkit-perspective: 800;
		-webkit-transform-style: preserve-3d;
		perspective: 800;
		transform-style: preserve-3d;
		position: relative;
		width: 503rpx;
		height: 503rpx;
		margin: 13rpx auto;


	}

	.ani-list {
		position: absolute;
		left: 0rpx;
		top: 0rpx;
		-webkit-transform: rotateY(-50deg);
		-webkit-transform-style: preserve-3d;
		transform: rotateY(271deg); //rotateY(-50deg);
		transform-style: preserve-3d;
		-webkit-transform-origin: center;
		transform-origin: center;
		width: 500rpx;
		height: 500rpx;
		margin: 0 auto;
		animation: rotate 15s infinite linear;
		border-radius: 43rpx;

	}



	.animal-box .ani-list .r1,
	.animal-box .ani-list .r3 {
		width: 100%;
		height: 100%;
		margin: 0 auto;
		background-color: #dddedf;
		border: 5rpx solid #ff3936;
	}

	.animal-box .ani-list .r1-bg {
		top: 0px;
		width: 500rpx;
		height: 500rpx;
		-webkit-transform: translateZ(27rpx); //14px
		transform: translateZ(27rpx);
		background-color: #dddedf;
	}

	.animal-box .ani-list .r2 {
		top: 21rpx;
		// transform: rotateY(90deg) translateZ(248px) translateX(-13px);
		//14px
		transform: rotateY(90deg) translateZ(492rpx) translateX(-26rpx); //-26rpx
		transform-origin: left;
		// transform: rotateY(90deg) translateZ(245px) translateX(0px);

		width: 50rpx;
		// height: 220px8
		height: 450rpx;

	}

	.animal-box .ani-list .r4 {
		// top: 20px;
		top: 20rpx;
		//28px
		-webkit-transform: rotateY(-90deg) translateZ(20rpx) translateX(0rpx);
		//10px
		transform: rotateY(-90deg) translateZ(20rpx) translateX(0rpx);
		width: 52rpx;

		// height: 230px;

		height: 450rpx;
	}

	.animal-box .ani-list .r1,
	.animal-box .ani-list .r3 {
		width: 100%;
		height: 100%;
		margin: 0 auto;
		background-color: #dddedf;
		// border: 5rpx solid #ff3936;
		border: 5rpx solid #673DE7;
	}

	.animal-box .ani-list .r3-bg {
		top: 0px;
		width: 500rpx;
		height: 500rpx;

		-webkit-transform: rotateY(180deg) translateZ(27rpx); //14px
		transform: rotateY(180deg) translateZ(27rpx);
		background-color: #dddedf;
		border: 5rpx solid #673DE7; //red
	}

	.ani-info2 {
		list-style-type: none;
		position: absolute;
		//top: 0px;
		left: 0px;
		right: 0px;
		bottom: 0px;
		text-align: center;
		// width: 249px;
		//height: 249px;
		// background: url('@/logo.png') no-repeat;
		// background-size: 100% 100%;
		background: #e8e8e8;
		-webkit-transition: -webkit-transform 2s, opacity 2s;
		-webkit-backface-visibility: visible;
		transition: opacity 2s, -webkit-transform 2s;
		transition: transform 2s, opacity 2s;
		transition: transform 2s, opacity 2s, -webkit-transform 2s;
		backface-visibility: visible;
		border-radius: 56rpx;
	}

	.animal-box .ani-list .ani-info {
		list-style-type: none;
		position: absolute;
		//top: 0px;
		left: 0px;
		right: 0px;
		bottom: 0px;
		text-align: center;
		// width: 249px;
		//height: 249px;
		// background: url('@/logo.png') no-repeat;
		// background-size: 100% 100%;
		background: #e8e8e8;
		-webkit-transition: -webkit-transform 2s, opacity 2s;
		-webkit-backface-visibility: visible;
		transition: opacity 2s, -webkit-transform 2s;
		transition: transform 2s, opacity 2s;
		transition: transform 2s, opacity 2s, -webkit-transform 2s;
		backface-visibility: visible;
		border-radius: 16rpx;
	}

	.animal-box .ani-list .r5 {
		left: 20rpx;
		top: 16rpx;

		-webkit-transform: rotateX(90deg) translateZ(22rpx); //11px
		transform: rotateX(90deg) translateZ(22rpx);
		// height: 26px;
		// width: 218px;
		height: 50rpx;

		width: 440rpx;
	}

	.animal-box .ani-list .r6 {
		left: 20rpx;
		top: -25rpx;
		//	-webkit-transform: rotateX(-90deg) translateZ(236px);
		transform: rotateX(-90deg) translateZ(472rpx);
		// height: 26px;
		// width: 218px;
		height: 50rpx;

		width: 440rpx;
	}

	// 	.animal-box .ani-list .r1 .an-image, .animal-box .ani-list .r3
	.an-image {
		width: 100%;
		height: 100%;
		margin: 0rpx auto;
		background: #ffffff;
		padding: 30rpx;
		// border:5rpx solid red;
		box-sizing: border-box;
		border-radius: 52rpx;

		.image {

			border-radius: 50rpx;
		}
	}

	.an-image_container {
		position: relative;

		.an-image1 {
			width: 100%;
			height: 800rpx;
			margin: 0 auto;
			z-index: 1;
		}

		.an-image2 {
			top: 50%;
			transform: translate(-50%, -50%);
			left: 50%;

			position: absolute;
			width: 60%;
			margin: 0 auto;
			height: 450rpx;
		}
	}


	.animal-box .ani-list .r1 {
		-webkit-transform: translateZ(30rpx); //15px
		transform: translateZ(30rpx);
	}

	.collect_img_box {
		width: 100%;
		// height: 850rpx;
		z-index: 1;
		padding: 88rpx 0 0;
		display: flex;
		align-items: center;
		justify-content: center;
		flex-direction: column;
		opacity: 1;

		.imgCont {
			width: 511rpx;
			height: 511rpx;
			background-color: #fff;
			border-radius: 30rpx;
			padding: 10rpx;
		}

		.collect_image {
			width: 100%;
			height: 100%;
			display: block;

			border-radius: 30rpx;

		}

		.taizi_img {
			width: 560rpx;
			width: 590rpx;
			display: block;
			// margin-top: 10rpx;
			//margin: 22rpx auto ;
			margin: 85rpx auto 0;
		}
	}

	.binahao {
		margin: 10rpx auto;
		width: 626rpx;
		text-align: center;
		font-size: 35rpx;
		font-family: Source Han Sans CN;
		font-weight: bold;
		color: #ffffff;
		line-height: 90rpx;
	}

	//详情 第一年
	.mess_List_black {
		border: 4px solid transparent;
		border-radius: 16px;
		background-clip: padding-box, border-box;
		background-origin: padding-box, border-box;
		background-image: linear-gradient(to right, #222, #222), linear-gradient(90deg, rgba(85, 204, 124, 1), RGBA(237, 247, 126, 1));

		.xin_m {
			background-color: #333333;
			color: #ffffff;
		}

		.one_mess {
			border: 4px solid transparent;
			background-clip: padding-box, border-box;
			background-origin: padding-box, border-box;
			background-image: linear-gradient(to right, #222, #222), linear-gradient(90deg, rgba(85, 204, 124, 1), RGBA(237, 247, 126, 1));
		}
	}

	.mess_List_white {
		background: linear-gradient(180deg, #A9EDE9 0%, #FBD6E3 100%);
		border-radius: 15rpx;
		padding: 14rpx;

		.xin_m {
			background-color: #ffffff5e;
			color: #000000;
		}

		.one_mess {
			border: 8rpx solid;
			background: linear-gradient(0deg, #D3FBFB 0%, #FBDD97 100%);
			border-image: linear-gradient(0deg, #FEDC45, #FB7099) 10 10;
		}
	}

	.mess_List {
		width: 690rpx;
		margin: 30rpx auto;

		// height: 600rpx;
		padding: 10rpx;

		box-shadow: 2rpx 2rpx 8rpx 4rpx #51515166;

		.one_mess {
			z-index: 1;
			width: 324rpx;
			height: 568rpx;
			margin-bottom: 35rpx;
			border-radius: 20rpx !important;
			border: 4px solid transparent;
			clip-path: inset(0 round 16rpx);
			box-shadow: 2rpx 2rpx 12rpx 4rpx #51515166;

			.back_m {
				width: 292rpx;
				margin: 6rpx auto;
				background: linear-gradient(80deg, #D3FBFB 0%, #FBDD97 100%);
				border-radius: 15rpx;
				text-align: center;
			}

			.xin_m {
				width: 183rpx;
				font-size: 25rpx;
				font-family: Source Han Sans CN;
				font-weight: bold;
				padding-left: 13rpx;
			}

			.mess_xinxi {
				display: flex;
				justify-content: space-around;
				width: 300rpx;
				margin: 15rpx auto;

				.jianbain {
					text-align: center;
					margin: 0 2rpx;
					width: 150rpx;
					font-weight: bold;
					background: linear-gradient(93deg, #D3FBFB 0%, #FBDD97 100%);
					border-radius: 5rpx;
				}

			}
		}

	}

	.mess_List_black2 {
		border: 4px solid transparent;
		background-clip: padding-box, border-box;
		background-origin: padding-box, border-box;
		background-image: linear-gradient(to right, #222, #222), linear-gradient(90deg, rgba(254, 220, 69, 1), rgba(251, 112, 153, 1));

		.xin_m {
			background-color: #333333;
			color: #ffffff;
		}

		.one_mess {
			clip-path: inset(0 round 16rpx);
			border: 4px solid transparent;
			background-clip: padding-box, border-box;
			background-origin: padding-box, border-box;
			background-image: linear-gradient(to right, #222, #222), linear-gradient(90deg, rgba(254, 220, 69, 1), rgba(251, 112, 153, 1));
		}
	}

	.mess_List_white2 {
		background: linear-gradient(180deg, #fba980FF 0%, #f7cb6bFF 100%);
		border-radius: 15rpx;
		padding: 14rpx;

		.xin_m {
			background-color: #ffffff5e;
			color: #000000;
		}

		.one_mess {
			border: 8rpx solid;
			border-image: linear-gradient(0deg, #FEDC45, #FB7099) 10 10;

			background: linear-gradient(0deg, #FEDC45 0%, #FB7099 100%);
		}
	}

	.mess_List_black3 {
		border: 4px solid transparent;
		border-radius: 16px;
		background-clip: padding-box, border-box;
		background-origin: padding-box, border-box;
		background-image: linear-gradient(to right, #222, #222), linear-gradient(90deg, rgba(202, 253, 191, 1), rgba(254, 178, 190, 1));

		.xin_m {
			background-color: #333333;
			color: #ffffff;
		}

		.one_mess {
			clip-path: inset(0 round 16rpx);
			border: 4px solid transparent;
			background-clip: padding-box, border-box;
			background-origin: padding-box, border-box;
			background-image: linear-gradient(to right, #222, #222), linear-gradient(90deg, rgba(202, 253, 191, 1), rgba(254, 178, 190, 1));
		}
	}

	.mess_List_white3 {
		background: linear-gradient(180deg, #eceda2FF 0%, #baeccaFF 100%);
		border-radius: 15rpx;
		padding: 14rpx;

		.xin_m {
			background-color: #ffffff5e;
			color: #000000;
		}

		.one_mess {
			border: 8rpx solid;
			border-image: linear-gradient(0deg, #D3FBFB, #FBDD97) 10 10;
			background: linear-gradient(0deg, #CAFDBF 0%, #FEB2BE 100%);
		}
	}

	//详情 第2年
	.mess_List2 {
		width: 690rpx;
		margin: 30rpx auto;
		border: 4px solid transparent;
		border-radius: 16px;
		// height: 600rpx;
		padding: 14rpx;
		box-shadow: 2rpx 2rpx 12rpx 4rpx #51515166;


		.one_mess {
			margin-bottom: 35rpx;
			width: 323rpx;
			height: 568rpx;
			border-radius: 15rpx !important;
			clip-path: inset(0 round 16rpx);

			box-shadow: 2rpx 2rpx 12rpx 4rpx #51515166;

			.back_m {
				width: 292rpx;
				margin: 6rpx auto;
				background: linear-gradient(93deg, #FFE8CE 0%, #FBB8A0 100%);
				border-radius: 15rpx;
				text-align: center;
			}



			.mess_xinxi {
				display: flex;
				justify-content: space-around;
				width: 300rpx;
				margin: 15rpx auto;

				.jianbain {
					font-weight: bold;
					text-align: center;
					margin: 0 2rpx;
					width: 150rpx;
					background: linear-gradient(93deg, #FFE8CE 0%, #FBB8A0 100%);
					border-radius: 5rpx;
				}

			}
		}

	}

	//详情 第3年
	.mess_List3 {
		width: 690rpx;
		margin: 10px auto 30rpx auto;
		border-radius: 16px;
		// height: 600rpx;
		padding: 14rpx;
		box-shadow: 2rpx 2rpx 8rpx 4rpx #515151a3;

		.one_mess {
			margin-bottom: 35rpx;
			width: 323rpx;
			height: 568rpx;
			border-radius: 15rpx !important;
			border-radius: 16px;

			box-shadow: 2rpx 2rpx 8rpx 4rpx #515151a3;

			.back_m {
				width: 292rpx;
				margin: 6rpx auto;
				background: linear-gradient(80deg, #CAFDBF 0%, #FEB2BE 100%);
				border-radius: 15rpx;
				text-align: center;
			}



			.mess_xinxi {
				display: flex;
				justify-content: space-around;
				width: 300rpx;
				margin: 15rpx auto;

				.jianbain {
					font-weight: bold;
					text-align: center;
					margin: 0 2rpx;
					width: 150rpx;
					background: linear-gradient(93deg, #CAFDBF 0%, #FEB2BE 100%);
					border-radius: 5rpx;
				}

			}
		}

	}

	// 公用字体样式
	.xin_m {
		//background-color: #000000;
		width: 183rpx;
		font-size: 25rpx;
		text-align: center;
		font-family: Source Han Sans CN;
		font-weight: bold;
		//color: #ffffff;
	}

	.m_date {
		text-align: center;
		margin: 7rpx auto;
		width: 270rpx;
		font-size: 20rpx;
		font-family: Source Han Sans CN;
		font-weight: bold;
		color: #ffffff;
	}

	//价格
	.xin_m {
		//background-color: #333333 !important;
		width: 183rpx;
		font-size: 25rpx;
		font-family: Source Han Sans CN;
		font-weight: bold;
		//color: #ffffff;
		padding-left: 13rpx;
	}

	//价值
	.jiazhi {
		width: 207rpx;
		font-size: 27rpx;
		font-weight: bold;
		color: #ffffff;
		margin: 7rpx auto;
		text-align: center;
	}

	.mess_collect {
		display: flex;
		align-items: center;
		flex-wrap: wrap;
		justify-content: space-between;
	}

	.year {
		width: 200rpx;
		text-align: center;
		color: #FFFFFE;
		font-size: 36rpx;
		margin: 10rpx auto;
		font-weight: bold;
	}

	.mess_image {
		margin: 5rpx auto;
		// width: 225rpx;
		height: 280rpx;
		border-radius: 10rpx;
	}

	.mess_image_jl {
		position: absolute;
		top: -5rpx;
		right: -5rpx;
		width: 90rpx;
		height: 90rpx;
	}

	.b_image {
		border-radius: 15rpx;
		margin: auto;

		width: 292rpx;
		height: 290rpx;
		background-color: #000;
	}

	.m_name {
		text-align: center;
		margin: 2rpx auto;
		// width: 269rpx;
		// border:1px solid red;
		height: 49rpx;
		line-height: 49rpx;
		font-size: 25rpx;
		font-family: Source Han Sans CN;
		font-weight: bold;
		color: #000000;

		.name_jiantou {
			width: 30rpx;
			margin-left: 10rpx;
			height: 20rpx;
		}
	}

	/deep/.uni-select {
		border: none;
		padding: 0;
		margin: 0;
	}

	/deep/.uni-select__input-text {
		font-size: 34rpx !important;
		width: auto;
		padding-right: 15rpx;
		color: #fff;
	}

	/deep/.u-icon--right {
		color: #fff;
	}

	//弹框
	.collect_box {
		width: 100%;
		min-height: 340rpx;
		background-color: #fff;
		border-radius: 20rpx 20rpx 0 0;
		padding: 30rpx;
	}

	.back {
		border-radius: 15rpx;
		// height: 600rpx;

		box-shadow: 2rpx 2rpx 12rpx 4rpx #51515166;
		margin-bottom: 30rpx;
	}

	.collect_list {
		width: 100%;
		min-height: 155rpx;
		max-height: 800rpx;
		overflow: auto;
		display: flex;
		align-items: center;
		flex-wrap: wrap;
		margin-top: 20rpx;
		justify-content: space-between;
		padding-right: 8rpx;

		.cyz {
			background-color: var(--QianmenonlyBackgournd);
		}

		.zsz {
			background-color: var(--QianmenonlyBackgournd2);
		}

		.collect_item {
			width: 336rpx;
			height: 175rpx;
			box-shadow: 3rpx 2rpx 6rpx 1rpx #9c9c9c;
			background: linear-gradient(234deg, #fbe3e7 0%, #fbfbfb 100%);
			// background-color: #FFF0F2;
			border-radius: 20rpx;

			position: relative;
			// padding-top: 12rpx;
			padding: 15rpx;
			// margin-right: 12rpx;
			margin-bottom: 20rpx;

			.collect_image {
				width: 116rpx;
				height: 112rpx;
				background-color: #000;
				text-align: center;
				border-radius: 20rpx;

				.c_image {
					border-radius: 20rpx;
					width: 91rpx;
					height: 100rpx;
				}
			}

			//持有状态
			.status {
				display: inline-block;
				padding: 2rpx 10rpx 2rpx 19rpx;
				// background-color: #FCC9CB;
				background: var(--onlyBackgournd);
				border-radius: 0 20rpx 0 20rpx;
				font-size: 20rpx;
				color: #ffffff;
				// color:var(--selectColorSize);
				position: absolute;
				top: 0;
				right: 0;
			}

			//去寄售状态
			.jishoustatus {
				display: inline-block;
				padding: 2rpx 10rpx 2rpx 19rpx;
				// background-color: #FCC9CB;

				border-radius: 20rpx;
				font-size: 18rpx;
				color: #ffffff;
				// color:var(--selectColorSize);
				position: absolute;
				bottom: 6rpx;
				right: 0;
			}

			//可以寄售
			.able {
				background: var(--buttonBcak);
			}

			//不可以
			.cannot {
				background-color: #a5a5a5;
				text-decoration: line-through;
				text-decoration-style: double;
			}

			.collect_code {
				margin-top: 6rpx;
				font-size: 24rpx;
				color: #7A7A7A;
			}

			.collect_price {
				width: 100%;
				text-align: center;
				font-size: 36rpx;
				color: #141519;
				font-weight: 600;
			}

		}

		&>view:nth-child(3n) {
			margin-right: 0;
		}

	}

	.see_more {
		width: 100%;
		padding: 20rpx 0;
		text-align: center;
		font-size: 28rpx;
		color: #9a99a2;
	}
</style>